package com.example.spinning.bean;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.sql.Timestamp;

public class SpinningFeeding {
    private int id;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Timestamp date;


    private String batch_no;
    private String num;

    private String composition;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public Timestamp getDate() {
        return date;
    }

    public void setDate(Timestamp date) {
        this.date = date;
    }

    public String getBatch_no() {
        return batch_no;
    }

    public void setBatch_no(String batch_no) {
        this.batch_no = batch_no;
    }

    public String getNum() {
        return num;
    }

    public void setNum(String num) {
        this.num = num;
    }

    public String getComposition() {
        return composition;
    }

    public void setComposition(String composition) {
        this.composition = composition;
    }

    public String getCustomer() {
        return customer;
    }

    public void setCustomer(String customer) {
        this.customer = customer;
    }

    public float getNumF() {
        return numF;
    }

    public void setNumF(float numF) {
        this.numF = numF;
    }

    public String getColor() {
        return color;
    }

    public void setColor(String color) {
        this.color = color;
    }

    public String getMatching() {
        return matching;
    }

    public void setMatching(String matching) {
        this.matching = matching;
    }

    public String getMatchLength() {
        return matchLength;
    }

    public void setMatchLength(String matchLength) {
        this.matchLength = matchLength;
    }

    public String getRemarks() {
        return remarks;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }

    private String customer;
    private float numF;
    private String color;
    private String matching;
    private String matchLength;
    private String remarks;


    @Override
    public String toString() {
        return "SpinningFeeding{" +
                "id=" + id +
                ", date=" + date +
                ", batch_no='" + batch_no + '\'' +
                ", num='" + num + '\'' +
                ", composition='" + composition + '\'' +
                ", customer='" + customer + '\'' +
                ", numF=" + numF +
                ", color='" + color + '\'' +
                ", matching='" + matching + '\'' +
                ", matchLength='" + matchLength + '\'' +
                ", remarks='" + remarks + '\'' +
                '}';
    }
}
